package com.sayice.design.lab6_2;

import java.util.ArrayList;
import java.util.List;

/**
 * @author shubing
 */
public class DataList implements AbstractDataList {
    private final List<String> datas = new ArrayList<>();
    
    @Override
    public List<String> getDatas() {
        return datas;
    }
    
    @Override
    public DataIterator getIterator(int countPerPage) {
        return new DataIterator(this, countPerPage);
    }
}
